package com.ruoyi.committee.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 业主委员会对象 house_committee_t
 * 
 * @author ruoyi
 * @date 2023-04-20
 */
public class HouseCommitteeT extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 业主委员会id */
    private Long committeeId;
    /** 密码 */
    private String password;
    /** 用户昵称 */
    @Excel(name = "用户名称")
    private String nickName;
    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;
    /** 角色ID */
    private Long roleId;
    /** 用户账号 */
    @Excel(name = "登录名称")
    private String userName;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 业主委员会名称 */
    @Excel(name = "业主委员会名称")
    private String committeeName;

    /** 负责人电话 */
    @Excel(name = "负责人电话")
    private String committeeTel;

    /** 负责人 */
    @Excel(name = "负责人")
    private String committeer;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setCommitteeId(Long committeeId) 
    {
        this.committeeId = committeeId;
    }

    public Long getCommitteeId() 
    {
        return committeeId;
    }
    public void setCommitteeName(String committeeName) 
    {
        this.committeeName = committeeName;
    }

    public String getCommitteeName() 
    {
        return committeeName;
    }
    public void setCommitteeTel(String committeeTel) 
    {
        this.committeeTel = committeeTel;
    }

    public String getCommitteeTel() 
    {
        return committeeTel;
    }
    public void setCommitteer(String committeer) 
    {
        this.committeer = committeer;
    }

    public String getCommitteer() 
    {
        return committeer;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("committeeId", getCommitteeId())
            .append("committeeName", getCommitteeName())
            .append("committeeTel", getCommitteeTel())
            .append("committeer", getCommitteer())
            .append("remark", getRemark())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .toString();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
